﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Документ без названия</title>
</head>
<body>
<?php require_once('Connections/mytestcon.php'); ?>

<?php 
  $dblocation = "mysql10.000webhost.com"; 
  $dbname = "a8058915_seven"; 
  $dbuser = "a8058915_seven"; 
  $dbpasswd = "remembenumber7"; 


  if (!$mytestcon) 
  { 
    echo "<p>К сожалению, не доступен сервер mySQL</p>"; 
    exit(); 
  } 
  if (!@mysql_select_db($database_mytestcon,$mytestcon) ) 
  { 
    echo "<p>К сожалению, не доступна база данных</p>"; 
    exit(); 
  } 
  $ver = mysql_query("SELECT VERSION()"); 
  if(!$ver) 
  { 
    echo "<p>Ошибка в запросе</p>"; 
    exit(); 
  } 
  echo mysql_result($ver, 0); 
?>


</body>
</html>